Ext.application({
	requires: ['SRMT.view.Viewport'],
	// define app's name and root folder
    name: 'SRMT',
    appFolder: 'app',
    
    // auto find view.Viewport.js and create it
	autoCreateViewport: true,
    
	// define app.view.Views to use xtype
	views: [
		'SRMT.view.About',
		'SRMT.view.Login',
		'SRMT.view.Register',
		'SRMT.view.Menu',
		'SRMT.view.project-explorer.ProjectExplorer',
//		'SRMT.view.project-explorer.ContextMenu',
		'SRMT.view.artifact-list.ArtifactList',
		'SRMT.view.project-board.ProjectBoard',
		'SRMT.view.project-explorer.NewProject'
	],
	
	controllers: [
		'SRMT.controller.Login',
		'SRMT.controller.Viewport',
		'SRMT.controller.Register',
		'SRMT.controller.Menu',
		'SRMT.controller.project-explorer.ProjectExplorer',
//		'SRMT.controller.project-explorer.ContextMenu',
		'SRMT.controller.artifact-list.ArtifactList',
		'SRMT.controller.project-board.ProjectBoard',
		'SRMT.controller.project-explorer.NewProject'
	],
	
	models: [
		'SRMT.model.ProjectExplorer',
		'SRMT.model.ArtifactList'
	],
	
	stores: [
		'SRMT.store.ProjectExplorer',
		'SRMT.store.ArtifactList'
	],
	
	// function will be called when app start
    launch: function() {
		
	}
});